package com.yidu.best.systemManagement.systemLog.domian;

import java.util.Date;

/**
 * 日志管理
 * @author AA
 *
 */
public class Log {
	//日志id
	private String logId;
	//动作
	private String motion;
	//日志时间
	private Date logTime;
	//来源
	private String source;
	//IP地址
	private String computerIP;
	//描述
	private String description;
	//用户ID
	private String userId;
	//用户名
	private String userName;
	public String getLogId() {
		return logId;
	}
	public void setLogId(String logId) {
		this.logId = logId;
	}
	public String getMotion() {
		return motion;
	}
	public void setMotion(String motion) {
		this.motion = motion;
	}
	public Date getLogTime() {
		return logTime;
	}
	public void setLogTime(Date logTime) {
		this.logTime = logTime;
	}
	public String getSource() {
		return source;
	}
	public void setSource(String source) {
		this.source = source;
	}
	public String getComputerIP() {
		return computerIP;
	}
	public void setComputerIP(String computerIP) {
		this.computerIP = computerIP;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	@Override
	public String toString() {
		return "Log [logId=" + logId + ", motion=" + motion + ", logTime=" + logTime + ", source=" + source
				+ ", computerIP=" + computerIP + ", description=" + description + ", userId=" + userId + ", userName="
				+ userName + "]";
	}
	public Log(String logId, String motion, Date logTime, String source, String computerIP, String description,
			String userId, String userName) {
		super();
		this.logId = logId;
		this.motion = motion;
		this.logTime = logTime;
		this.source = source;
		this.computerIP = computerIP;
		this.description = description;
		this.userId = userId;
		this.userName = userName;
	}
	public Log() {
		super();
	}
	
	
}
